<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <title></title>
         <link href="{{$http_url}}/css/css.css" rel="stylesheet" type="text/css" />
        <script type="text/JavaScript">

        </script>
        <link href="{{$http_url}}/css/style.css" rel="stylesheet" type="text/css" />
    </head>
<body>
    <form name="fom" id="fom" method="post" action="">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="30">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td height="62" background="{{$http_url}}/image/nav04.gif">

                        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="21"></td>
                                <td width="538"><input style="cursor:pointer;" onClick="window.location='{{$http_url}}/user/userGroup/'" name="Submit4" type="button" class="right-button08" value="添加新用户组" /></td>
                                <td width="144" align="left"></td>
                            </tr>
                        </table></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td height="40" class="font42">
                                    <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
                                        <tr class="CTitle" >
                                            <td height="22" colspan="7" align="center" style="font-size:16px">用户组详细列表</td>
                                        </tr>
                                        <tr bgcolor="#EEEEEE">
                                            <td width="10%">用户组名称</td>
                                            <td width="15%">用户组权限</td>
                                            <td width="10%">用户组状态</td>
                                            <td width="10%">创建时间</td>
                                            <td width="5%">创建人</td>
                                            <td width="12%" >操作</td>
                                        </tr>
                                        {{foreach from=$grouplist item=list}}
                                        <tr bgcolor="#FFFFFF">
                                            <td>{{$list.groupname}}</td>
                                            <td>{{foreach from=$list.paramArr item=name}}{{$name}}&nbsp;{{/foreach}}</td>
                                            <td>{{if $list.is_forbidden == 1}}不可用{{else}}可用{{/if}}</td>
                                            <td>{{$list.create_time}}</td>
                                            <td>{{$list.create_name}}</td>
                                            <td> <a href="{{$http_url}}/user/userGroup/?groupid={{$list.id}}">编辑</a> |
                                                {{if $list.is_forbidden==1}}<a href="{{$http_url}}/user/deleteEnableGroup/?groupid={{$list.id}}&type=1">禁用</a>{{else}}<a href="{{$http_url}}/managing/deleteEnableGroup/?groupid={{$list.id}}&type=0">启用</a>{{/if}}</td>
                                        </tr>
                                        {{/foreach}}
                                    </table></td>
                            </tr>
                        </table>
                        </td>
                </tr>
        </table>
        </form>
        </body>
        </html>
